﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WLYT.Domain.Model
{
    public class Table<T>
    {
        public Table(IList<T> data, int total)
        {
            Data = data;
            Total = total;
        }

        [JsonProperty("data")]
        public IList<T> Data { get; set; }

        [JsonProperty("total")]
        public int Total { get; set; }
    }
}
